<!DOCTYPE html>
<html>
	<head>
		<title><%= title %></title>
		<link rel='stylesheet' href='/stylesheets/style.css' />
	</head>
	<body>
		<div class="container">
			<h1><%= title %></h1>
			<p>Welcome to <%= title %></p>
			<table>
				<tr>
					<th></th>
					<th>ID</th>
					<th>Name</th>
					<th>Money</th>
					<th></th>
				</tr>
				<% var sum=0; %>
				<% for(var i=0,len=member.length; i<len; i++) { %>
				<tr<% if(Number(member[i].money)<=10){ %>
				 class=<%= "warning"%>
				 <% } %>>
					<td><input type="checkbox" class="checkbox"></td>
					<td><%= member[i].id %></td>
					<td><%= member[i].name %></td>
					<td><%= member[i].money %></td>
					<td><input type="number" class="number" value="1"></td>
				</tr>
				<% sum+=Number(member[i].money); %>
				<% } %>
				<tr>
					<td></td>
					<td></td>
					<td>总余额：</td>
					<td><%= sum %></td>
					<td></td>
				</tr>
			</table>
			<p>共消费：</p><input type="input" value="" id="cost">
			<input type="button" value="AA" id="aashare">
		</div>
		<script type="text/javascript" src="../javascripts/thirdpart/jquery-1.11.3.min.js"></script>
		<script type="text/javascript" src="../javascripts/aashare.js"></script>
	</body>
</html>